package com.zhf.model;

import java.io.Serializable;

public class UserPasswordMessage implements Serializable {
    private static final long serialVersionUID = -9115455148422562884L;

    private UserPassword userPassword;
    private String message;

    public UserPasswordMessage() {
    }

    public UserPasswordMessage(UserPassword userPassword, String message) {
        this.userPassword = userPassword;
        this.message = message;
    }

    public UserPassword getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(UserPassword userPassword) {
        this.userPassword = userPassword;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "UserPasswordMessage{" +
                "userPassword=" + userPassword +
                ", message='" + message + '\'' +
                '}';
    }
}
